export default [
    {
        //  后台控制面板
        path: '/backstage/',
        name: 'backstage',
        component: () => import('@/views/backstage/index'),
        children: [
            {
                //  管理员管理
                path: 'adminList',
                name: 'adminList',
                component: () => import('@/views/backstage/administrators/adminList')
            },
            {
                // 用户管理
                path: 'userManage',
                name: 'userManage',
                component: () => import('@/views/backstage/userManage/')
            },
            {
                //  人气商品管理
                path: 'goods/popularity',
                name: 'popularity',
                component: () => import('@/views/backstage/goods/popularity')
            },
            {
                //  新品商品管理
                path: 'goods/newGoods',
                name: 'newGoods',
                component: () => import('@/views/backstage/goods/newGoods')
            },
            {
                //  导航商品一管理
                path: 'ordinaryGoods/goodsIndexOne',
                name: 'goodsIndexOne',
                component: () => import('@/views/backstage/ordinaryGoods/goodsIndexOne')
            },
            {
                //  导航商品二管理
                path: 'ordinaryGoods/goodsIndexTwo',
                name: 'goodsIndexTwo',
                component: () => import('@/views/backstage/ordinaryGoods/goodsIndexTwo')
            },
            {
                //  导航商品三管理
                path: 'ordinaryGoods/goodsIndexThree',
                name: 'goodsIndexThree',
                component: () => import('@/views/backstage/ordinaryGoods/goodsIndexThree')
            },
            {
                //  导航商品四管理
                path: 'ordinaryGoods/goodsIndexFour',
                name: 'goodsIndexFour',
                component: () => import('@/views/backstage/ordinaryGoods/goodsIndexFour')
            },
            {
                //  导航商品五管理
                path: 'ordinaryGoods/goodsIndexFive',
                name: 'goodsIndexFive',
                component: () => import('@/views/backstage/ordinaryGoods/goodsIndexFive')
            },
            {
                //  购物车
                path: 'shoppCar',
                name: 'shoppCar',
                component: () => import('@/views/backstage/shoppCar')
            },
            {
                //  最新资讯
                path: 'news',
                name: 'news',
                component: () => import('@/views/backstage/news')
            },
            {
                //  服务器详情
                path: 'control/hardware',
                name: 'hardware',
                component: () => import('@/views/backstage/control/hardware')
            },
            {
                //  销售统计
                path: 'control/statistics',
                name: 'statistics',
                component: () => import('@/views/backstage/control/statistics')
            }
        ]
    }
]
